<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'measurementSave.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<style type="text/css">
			body,td,th {
				font-size: 12px;
			}
			
			.STYLE2 {
				color: #FF0000
			}
		</style>
		<script type="text/javascript">
			function checksubmit()
			{
				var measurementname = document.getElementById("measurementname").value;
				if(measurementname.length == 0)
				{
					alert("请填写计量单位");
					return false;
				}
				return true;
			}
		</script>
	</head>

	<body oncontextmenu="return false">
		<form name="form1" method="post" action="<%=request.getContextPath() %>/measurement/saveForMeasurement.action" onsubmit="return checksubmit()">
			<table width="80%" border="1" align="center" cellpadding="1"
				cellspacing="1">
				<tr>
					<td colspan="3">&nbsp;
						
					</td>
				</tr>
				<tr align="center">
					<td width="100">
						计量单位:
					</td>
					<td width="555">
						<input name="measurementBean.measurementname" id="measurementname" type="text" style="width: 95%" maxlength="10">
					</td>
					<td width="10">
						<span class="STYLE2">*</span>
					</td>
				</tr>
				<tr>
					<td colspan="3" align="center">
						<input type="submit" value="提交">
						<input type="reset" value="重置">
						<input type="button" value="返回" onclick="javascript:window.history.back();">
					</td>
				</tr>
				<tr>
					<td colspan="3">&nbsp;
						
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
